<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
    <style>
        .top{
            text-align: center;
            margin-top: 20px;
            font-size:30px;
            line-height: 50px;
            height:50px;
        }
        .table{
            width:100%;
        }
        .table tr td{
            text-align: center;
            line-height: 30px;
            height: 30px;
            
        }
        .bottom{
            margin-top:50px;
            text-align: center;
        }
        .add{
            height:50px;
            text-align: center;
            border-radius: 5px;
            border:0px;
            line-height: 40px;
            font-size:30px;
            width:80%;
            background-color: rgb(0, 102, 255);
            color:#fff;
        }
    </style>
       
</head>
<body>
	
    <div class="top">
        成员列表
    </div>
    <div>
        <table class="table">
            <tr>
                <td>
                    姓名
                </td>
                <td>
                    手机号
                </td>
                <td>
                    操作
                </td>
            </tr>
            {volist name="memberlist" id="vol"}
            <tr>
                <td>
                    {$vol.nickname}
                </td>
                <td>
                    {$vol.phone}
                </td>
                <td>
                    <a href="{:url('piclist')}?id={$vol.id}" style="text-decoration: none;cursor: pointer">上传图片</a>
                </td>
            </tr>
            {/volist}
        </table>
    </div>
    <div class="bottom">
        <button class="add" onclick="add()">添加成员</button>
    </div>
</body>
</html>
<script type="text/javascript">
    function add(){
        window.location.href="{:url('memberadd')}?user_id={$user_id}";
    }
</script>